package com.ssm.service;

import com.ssm.pojo.Type;

import java.util.List;

public interface TypeService {
    public List<Type> findALL();

    public Type findById(long id);
    //留意一下Book的sname
    public void add(String name);

    public List<Type> findBySname(String name);

    public void modify(long id,String name);

    public void remove(long id);
}
